import layout from '@/layout'
export default {
  path: '/dispatch',
  component: layout,
  meta: {
    title: '调度管理',
    icon: 'el-icon-files'
  },
  children: [
    {
      path: '/transportation', // 二级路由的路径，
      name: 'transportation',
      component: () => import('@/views/dispatchManagement/transportation.vue'),
      meta: {
        title: '运输任务管理',
        icon: 'el-icon-some-icon'
      }
    },
    {
      path: '/lineManagement', // 二级路由的路径，
      name: 'lineManagement',
      component: () => import('@/views/dispatchManagement/lineManagement.vue'),
      meta: {
        title: '线路管理',
        icon: 'el-icon-some-icon'
      }
    },
    {
      path: '/parcelManagement', // 二级路由的路径，
      name: 'parcelManagement',
      component: () => import('@/views/dispatchManagement/parcelManagement.vue'),
      meta: {
        title: '取件作业管理',
        icon: 'el-icon-some-icon'
      }
    },
    {
      path: '/deliveryManagement', // 二级路由的路径，
      name: 'deliveryManagement',
      component: () => import('@/views/dispatchManagement/deliveryManagement.vue'),
      meta: {
        title: '派件作业管理',
        icon: 'el-icon-some-icon'
      }
    }

  ]
}
